]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
main: Close the recorder instead of pausing it
authorRui Matos <tiagomatos@gmail.com>
Wed, 2 May 2012 14:44:40 +0000 (16:44 +0200)
committerRui Matos <tiagomatos@gmail.com>
Thu, 3 May 2012 07:27:53 +0000 (09:27 +0200)
Pausing means that we will continue to use the same output file when
the keybinding is activated again. While useful to record a single
video in chunks, it doesn't seem to be how most users understand the
keybinding. Closing the recorder will close the file and create a new
one the next time the keybinding is pressed.

https://bugzilla.gnome.org/show_bug.cgi?id=675128

js/ui/main.js

index 3b8029756c8468f9a260dc849c01f43c48e8b447..25ad8d8b3aeeae14efefec6a6c7bab1a7e42a36e 100644 (file)
@@ -110,7 +110,7 @@ function _initRecorder() {
         }
 
         if (recorder.is_recording()) {
-            recorder.pause();
+            recorder.close();
             Meta.enable_unredirect_for_screen(global.screen);
         } else {
             // read the parameters from GSettings always in case they have changed